.class Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$10;
.super Ljava/lang/Object;
.source "FootprintDetailEditActivity.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->onCreateDialog(I)Landroid/app/Dialog;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;


# direct methods
.method constructor <init>(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1077
    iput-object p1, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$10;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 4
    .parameter "dialog"
    .parameter "which"

    .prologue
    const/4 v3, 0x1

    .line 1078
    packed-switch p2, :pswitch_data_0

    .line 1091
    :goto_0
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    .line 1092
    return-void

    .line 1080
    :pswitch_0
    iget-object v1, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$10;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    #calls: Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->doPickPhotoAction()V
    invoke-static {v1}, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->access$1800(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;)V

    goto :goto_0

    .line 1083
    :pswitch_1
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$10;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    const-class v2, Lcom/htc/android/footprints/activity/FootprintCamera;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 1085
    .local v0, footprintcamera:Landroid/content/Intent;
    const-string v1, "recapture"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 1086
    iget-object v1, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$10;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    #getter for: Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->locationText:Landroid/widget/TextView;
    invoke-static {v1}, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->access$1600(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;)Landroid/widget/TextView;

    move-result-object v1

    const v2, 0x7f0a003c

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(I)V

    .line 1087
    iget-object v1, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$10;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    #setter for: Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->isRecaptureRunning:Z
    invoke-static {v1, v3}, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->access$1902(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;Z)Z

    .line 1088
    iget-object v1, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$10;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    const/4 v2, 0x3

    invoke-virtual {v1, v0, v2}, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->startActivityForResult(Landroid/content/Intent;I)V

    goto :goto_0

    .line 1078
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method
